import request from '@/utils/request'

export function getExaminationSignupInfo(pageSize, pageNumber, username) {
  return request({
    url: 'exam/com.primeton.eos.ExaminationEvluation.queryExaminationSignupInfo.biz.ext',
    // url: '/teachers/list',
    method: 'post',
    data: {
      'pageSize': pageSize,
      'pageNumber': pageNumber,
      'username': username
    }
  })
}
export function getExaminationSignupInfoHis(pageSize, pageNumber, username) {
  return request({
    url: 'exam/com.primeton.eos.ExaminationEvluation.queryExaminationSignupInfoHis.biz.ext',
    // url: '/teachers/list',
    method: 'post',
    data: {
      'pageSize': pageSize,
      'pageNumber': pageNumber,
      'username': username
    }
  })
}
export function getExaminationSignupInfoWithFilter(pageSize, pageNumber, teacher_code, name, department_code,
  gender, teacher_type_code, username, activeName) {
  return request({
    url: 'exam/com.primeton.eos.ExaminationEvluation.queryExaminationSignupInfoWithFilter.biz.ext',
    method: 'post',
    data: {
      'pageSize': pageSize,
      'pageNumber': pageNumber,
      'teacher_code': teacher_code,
      'name': name,
      'department_code': department_code,
      'gender': gender,
      'teacher_type_code': teacher_type_code,
      'username': username,
      'activeName': activeName
    }
  })
}
export function getExaminationSignupInfoWithFilterHis(pageSize, pageNumber, teacher_code, name, department_code,
  gender, teacher_type_code, username, activeName) {
  return request({
    url: 'exam/com.primeton.eos.ExaminationEvluation.queryExaminationSignupInfoWithFilterHis.biz.ext',
    // url: '/teachers/list',
    method: 'post',
    data: {
      'pageSize': pageSize,
      'pageNumber': pageNumber,
      'teacher_code': teacher_code,
      'name': name,
      'department_code': department_code,
      'gender': gender,
      'teacher_type_code': teacher_type_code,
      'username': username,
      'activeName': activeName
    }
  })
}
export function updateExaminationSignupInfo(ids, finish_status, get_experience_value, remark) {
  return request({
    url: 'exam/com.primeton.eos.ExaminationEvluation.updateExaminationSignupInfo.biz.ext',
    method: 'post',
    data: {
      'ids': ids,
      'finish_status': finish_status,
      'get_experience_value': get_experience_value,
      'remark': remark

    }
  })
}
